package net.zjitc.service;

import net.zjitc.pojo.Category;

import java.util.List;

/**
 * Created by 沈银 on 2017/11/18.
 */
public interface CategoryService {
    List<Category> findAll();

    int addCategory(String cname);

    int deleteCategory(String cid);

    Category findByCid(String cid);

    int editCategory(Category category);

}
